<#if pg??>${pg.countHtml!}</#if>
<table class="list">
  <tr>
    <th width="4%">序号</th>
    <th width="10%">门店名称</th>
    <th width="10%">合同号</th>
    <th width="8%">合同类型</th>
    <th width="12%">会员编号</th>
    <th width="9%">会员姓名</th>
    <th width="12%">日期</th>
    <th width="10%">状态</th>
    <th width="12%">打印时间</th>
    <th width="8%">操作</th>
  </tr>
  <#if list??><#list list as c>
  <tr<#if c_index%2==1> class="line2"<#else> class="line1"</#if>>
    <td class="no">${c_index+1}</td>
    <td><@value type="shopName" key="${c.shopCode!}"/></td>
    <td>${c.contractCode!}</td>
    <td><@value type="signContractType" key="${c.contractType!}"/></td>
    <td>${c.memberCode!}</td>
    <td><a href="javascript:mbinfo('${c.memberCode!}');">${c.memberName!}</a></td>
    <td>${c.createTime?string("yyyy-MM-dd HH:mm")}</td>
    <td><#if c.printLabel=1>已打印<#else>未打印</#if></td>
    <td><#if c.printTime??>${c.printTime?string("yyyy-MM-dd HH:mm")}</#if></td>
    <td class="oper"><#if canReprt?? || !(c.printLabel=1 && c.contractType='03')><#if canPrint??><a class="edit" href="javascript:open('print?id=${c.autoId!}');"><#if c.printLabel=1>重打印<#else>打印合同</#if></a></#if></#if></td>
  </tr>
  </#list></#if>
</table>
<#if pg??>${pg.pageHtml!}</#if>
